Data Source/Sink blocks

  • Source blocks allow to import into the program any variable available in the system. Additionally the Const Real/Vector allows to create a constant variable or vector.

  • Sink blocks allow overwriting the following system variables:

    • User Variables

    • Desired variables (variables whose name starts with ‘Desired’)

../../../_images/read_write_variables.png

Source/Sink blocks

Warning

  • Desired variables are naturally written by Guidances algorithms. If an active Guidance is writting a certain Desired variable, writting it with a Sink block should be avoided.

  • Using Sink blocks to overwrite System Variables usually results in the change not taking effect, but in some cases could end up causing Autopilot 1x to malfunction.

  • Avoid using Sink blocks to write any variable that does not belong to one of the groups listed above.